<table class="table table-striped">
    <style>
        th{
            width: 16%;
        }
    </style>
    <tbody>
    <tr>
        <th>{:__('Warranty.workID')}</th>
        <td>{$row.warranty.workID}</td>
    </tr>
    <tr>
        <th>{:__('Result')}</th>
        <td>{$row.result}</td>
    </tr>
    <tr>
        <th>{:__('Images')}</th>
        <td>
            {if !empty($row.images) && count($row.images)>0}
            <div>
                <ul class="row list-inline plupload-preview" id="p-files" data-template="introtpl" data-name="row[intro]" data-listidx="0">
                    {foreach name="row.images" item="vo"}
                    <li class="col-xs-3">
                        <a href="{$vo}" data-url="{$vo}" target="_blank" class="thumbnail" data-cursor="pointer" style="cursor: pointer;">
                            <img src="{$vo}" class="img-responsive">
                        </a>
                    </li>
                    {/foreach}
                </ul>
            </div>
            {/if}
        </td>
        </td>
    </tr>
    <tr>

        <th>{:__('User.nickname')}</th>
        <td>
            {if empty($row.user_id)}
            平台
            {else}
            <img class="mx-auto d-block" src="{$row.user.avatar}" style="max-width: 50px; max-height: 50px;border-radius: 50%;" />
            {$row.user.nickname}
            {/if}
        </td>
    </tr>
    <tr>
        <th>{:__('Createtime')}</th>
        <td>{if !empty($row.createtime)}{$row.createtime}{else}——{/if}</td>
    </tr>
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
